#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>

using namespace std;

typedef long long LL;

LL n;

int main()
{
    cin >> n;
    for(LL i = 1; i <= n; i ++)
    {
        LL a, b, c;
        cin >> a >> b >> c;
        if(a + b > c) printf("Case #%lld: true\n", i);
        else printf("Case #%lld: false\n", i);
    }
    return 0;
}